home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / misc / fontreqc.lha / FontReqClass10 / Include / FontReqClass.h
C/C++ Source or Header  |  1995-09-17  |  2KB  |  84 lines

  1. /*
  2. ** $VER: FontReq.lib 1.0 (17.9.95) Doguet Emmanuel
  3. **
  4. **
  5. ** C Header for the Font requester Class.
  6. **
  7. ** Allow to manage/set the Asl-Font requester
  8. ** for Intuition, BGUI..
  9. **
  10. **
  11. **
  12. **          (C) Copyright 1995 Doguet Emmanuel
  13. **          All  Rights Reserved.
  14. **
  15. **/
  16.  
  17.  
  18. #ifndef FONTREQCLASS_H
  19. #define FONTREQCLASS_H
  20.  
  21. #include <exec/types.h>
  22. #include <exec/memory.h>
  23.  
  24. #ifndef INTUITION_CLASSES_H
  25. #include <intuition/classes.h>
  26. #endif
  27.  
  28. #ifndef INTUITION_GADGETCLASS_H
  29. #include <intuition/gadgetclass.h>
  30. #endif
  31.  
  32. #ifndef LIBRARIES_ASL_H
  33. #include <libraries/asl.h>
  34. #endif
  35.  
  36. #ifndef UTILITY_TAGITEM_H
  37. #include <libraries/utility.h>
  38. #endif
  39.  
  40. /*
  41. **      Methods
  42. **/
  43. #define FC_MB                       (0x4000)
  44.  
  45. #define FC_DOREQUEST                (FC_MB+1)
  46.  
  47. /*
  48. **      Tags
  49. **/
  50. #define FC_TB                       (TAG_USER+0x40000)
  51.  
  52. #define FC_TextAttr                 (FC_TB+1)               /* I-G-- */
  53. #define FC_FrontPen                 (FC_TB+2)               /* --G-- */
  54. #define FC_BackPen                  (FC_TB+3)               /* --G-- */
  55. #define FC_DrawMode                 (FC_TB+4)               /* --G-- */
  56. #define FC_TTextAttr                (FC_TB+5)               /* --G-- */
  57.  
  58. #define FC_ReqLeftEdge              (FC_TB+6)               /* --G-- */
  59. #define FC_ReqTopEdge               (FC_TB+7)               /* --G-- */
  60. #define FC_ReqWidth                 (FC_TB+8)               /* --G-- */
  61. #define FC_ReqHeight                (FC_TB+9)               /* --G-- */
  62.  
  63.  
  64. /*
  65. **      Possible errors ( ! NOT IMPLEMENTED YET ! )
  66. **/
  67. #define FCERR_OUT_OF_MEMORY             (1L)
  68.  
  69.  
  70. /*
  71. **      Macros
  72. **/
  73. #define FontRequester( Obj )      DoMethod( Obj, FC_DOREQUEST )
  74.  
  75.  
  76. /*
  77. **      Class routine protos
  78. **/
  79. extern Class *InitFontReqClass( void );
  80. extern BOOL FreeFontReqClass( Class *cl );
  81.  
  82. #endif
  83.  
  84.